package org.mc;

import org.mc.common.annotation.EnableCommon;
import org.mc.resolver.AuthUserIdResolver;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

import java.util.List;

@SpringBootApplication
@EnableDiscoveryClient
@EnableCircuitBreaker
@EnableCommon
@EnableFeignClients
/*@EnableFeignClients(
        basePackages = {
                "org.mc.api.user"
        }
)*/
@EnableAsync
public class TestApplication extends WebMvcConfigurerAdapter {

    public static void main(String[] args) {
        SpringApplication.run(TestApplication.class, args);
    }

}
